<?php
/* Smarty version 3.1.34-dev-7, created on 2019-02-27 16:45:53
  from 'D:\PHP\PHPTutorial\WWW\UXIN\resume\frame\app\views\view\list.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_5c764e41a33561_76265344',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'a98099d9a8b8390d46ff6460b1915675f3e4cfd2' => 
    array (
      0 => 'D:\\PHP\\PHPTutorial\\WWW\\UXIN\\resume\\frame\\app\\views\\view\\list.tpl',
      1 => 1551257150,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5c764e41a33561_76265344 (Smarty_Internal_Template $_smarty_tpl) {
?><html>
	<head>
		<title>总览</title>
		<meta charset='utf-8' />
		<?php echo '<script'; ?>
 type='text/javascript' src='../../../../public/js/ChangePage.js'><?php echo '</script'; ?>
>
		<style>
			<!--表格-->
			.border_distance{
				border-collapse:collapse;
				border-right:1px solid red;
				border-top:1px solid red;
			}
			.border tr td{
				border-left:1px solid green;
				border-bottom:1px solid green;
			}
			<!-- 分页 -->
			.page{
				text-align:center;
				margin-top:50px;
			}
			.page a,span,tr,td{
				text-decoration:none;
				border:1px solid #f9d52b;
				padding:2px 7px;
				color:#767675
				cursor:pointer<!--鼠标滑过时鼠标变成手指形状-->
			}
			.page a:hover,.page span:hover{
				color:red;
			}
		</style>
	</head>
	
	<body>
		<center>
			<caption>总览</caption>
			<table class='page'>
				<tr>				
					<td>ID</td>
					<td>姓名</td>
					<td>性别</td>
					<td>生日</td>
					<td>邮箱</td>
					<td>电话</td>
					<td>学校</td>
					<td>专业</td>
					<td>爱好</td>
					<td>附件</td>
					<td>&nbsp;详情</td>
					<td>&nbsp;修改</td>
				</tr>
				<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tb']->value, 'value');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
?>
				<tr>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['gender'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['birthday'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['email'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['tell'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['school'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['major'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['hobby'];?>
</td>
					<td><?php echo $_smarty_tpl->tpl_vars['value']->value['has_annex'];?>
</td>
					<td>
						<a href="/detail/display?id=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
">详情</a>
					</td>
					<td>
						<a href="/modify/display?id=<?php echo $_smarty_tpl->tpl_vars['value']->value['id'];?>
">修改</a>
					</td>
				</tr>
				<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
			</table>
			
			<div class='page'>
				<input type='button' value='上一页' id='PrePage' onclick="PrePage()"/>
				<?php ob_start();
echo $_smarty_tpl->tpl_vars['numbers']->value;
$_prefixVariable1 = ob_get_clean();
$__section_loop_0_loop = (is_array(@$_loop=$_prefixVariable1) ? count($_loop) : max(0, (int) $_loop));
$__section_loop_0_total = $__section_loop_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_loop'] = new Smarty_Variable(array());
if ($__section_loop_0_total !== 0) {
for ($__section_loop_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index'] = 0; $__section_loop_0_iteration <= $__section_loop_0_total; $__section_loop_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index']++){
?>
				<a href='/overview/display?page=<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index'] : null)+1;?>
'><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_loop']->value['index'] : null)+1;?>
</a>
				<?php
}
}
?>
				<input type='button' value='下一页' id='NextPage' onclick="NextPage()"/>
			</div>
			
			<a href='/option/display'>返回</a>
			<a href='/logout/display'>退出</a>
			
		</center>
	</body>
</html>

















<?php }
}
